<div class="write-post-container" [@flyIn]="'active'">
  <div class="row">
    <div class="col-sm-12">
      <div role="form">
        <div class="form-group">
          <ng-content select=".onlyRichTextHeader"></ng-content>
          <textarea id="post_editor" class="form-control" rows="10"
                    placeholder="内容，最少140字，最多2万字。图片每张最大500K，每篇文章最多50张图。"></textarea>

          <form id="file_upload_form" target="form_target" method="post" enctype="multipart/form-data"
          style="width:0;height:0;overflow:hidden">
          <input id="img_input" name="image2" type="file" (change)="fileInputChangeHandler()">
          </form>
        </div>
      </div>
    </div>
  </div>
</div>


<!--<input type="file" id="file1"/><br/>-->
<!--<input type="button" id="" value="上传" (click)="unload()"/>-->


